package com.hsjk.szwj.module.train.dal.dataobject.mq;

import com.hsjk.szwj.framework.mq.core.stream.AbstractStreamMessage;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @author chenjiawei
 * @desc
 * @Date 2023/11/22 22:51
 **/
@Data
@NoArgsConstructor
@AllArgsConstructor
public class OrderFailureTimeMQ extends AbstractStreamMessage implements Serializable {
    private Long orderId;

    @Override
    public String getStreamKey() {
        return "order-failure-time";
    }
}
